package com.financial.service.platbalancepay.mq;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * describe:
 *
 * @author zhaopengjun
 * @date 2019/5/17 16:22
 */
@Component
public class BalancePayMQConfig {
    //够样中心topic
    public static  String BALANCEPAY_TOPIC;
    public static  String BALANCEPAY_GROUPID;
    public static final String ACCESS_KEY = "LTAIkLoCSLqX7QFG";
    public static final String SECRET_KEY = "anr8xwxEFrN4Rq0Gjw5MXxELuDb12V";
    public static final String NAMESRV_ADDR = "http://onsaddr.mq-internet-access.mq-internet.aliyuncs.com:80";

    @Value("${RocketMQ_Key.Balance.Topic}")
    private void setBalancepay(String TOPIC) {
        BalancePayMQConfig.BALANCEPAY_TOPIC = TOPIC;
    }

    @Value("${RocketMQ_Key.Balance.GroupId}")
    private void setYsGroupId(String groupId) {
        BalancePayMQConfig.BALANCEPAY_GROUPID = groupId;
    }


    //够样余额冻结tag
    public static  String BALANCE_FREEZE = "BALANCEFREEZE";
    //够样余额解冻 或核减tag
    public static  String BALANCE_UNFREEZE = "BALANCEUNFREEZE";
    //够样余额预支付
    public static  String WECHAT_BALANCE_PAY = "WECHATBALANCEPAY";
    //接收余额预支付信息并通知够样优点
    public static  String GYYD_WECHAT_BALANCE_PAY = "GYYDWECHATBALANCEPAY";

    public static  String WECHAT_BALANCE_ASYNPAY = "WECHATBALANCEASYNPAY";

    //银盛代付通知余额支付平台
    public static final String BLANCEPAY = "BLANCEPAY";

    //---------------Tag——————————————
    //public static final String SETTLE_SPLIT_TAG = "SETTLE_SPLIT";

    //public static final String YSASYNCHRONOUS_TAG="YSSPLITRETURN";
    //银盛提现异步回执
 /*   public static final String YSWITHDRAWALRECEIPT_TAG = "WITHDRAWALRECEIPT";
    //通知银盛发起分账--回执
    public static final String YSSPLITRECEIPT_TAG = "YSSPLITRECEIPT";
    //通知银盛分账
    //public static final String YSSPLIT_TAG = "YSSPLIT";
    //银盛代打款异步回执
    public static final String YSPAYMENT_TAG = "YSPAYMENT";
    //银盛微信支付异步
    public static final String PAY_TAG = "YSPAYBACK";
    //银盛支付宝支付异步
    public static final String YS_ALI_PAY_TAG = "YSALIPAYBACK";
    //报备异步通知商户中心修改报备状态
    public static final String YSREPORT = "YSREPORT";
    //报备银盛同步请求
    public static final String YSREQUERTREPORT = "YSREQUERTREPORT";
    //报备请求同步结果
    public static final String YSREQUERTREPORTRESULT = "YSREQUERTREPORTRESULT";
    //报备请求同步结果查询
    public static final String YSREQUERTREPORTRESULTQUERY = "YSREQUERTREPORTRESULTQUERY";*/

    public static final String  TAG_ALL = "*";

}
